package com.powernode.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 角色
 * @TableName sys_role
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SysRole implements Serializable {
    /**
     * 
     */
    private Long roleId;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建者ID
     */
    private Long createUserId;

    /**
     * 创建时间
     */
    private Date createTime;

    //////////////// 新增角色 ///////////////////
    @TableField(exist = false)
    @ApiModelProperty("权限id集合")
    private List<Long> menuIdList;

    private static final long serialVersionUID = 1L;


}